//
//  FYJWeakTimer.h
//
//


#import <Foundation/Foundation.h>

typedef void (^FYJTimerHandler)(id userInfo);

@interface FYJWeakTimer : NSObject

+ (NSTimer *)fyj_scheduledTimerWithTimeInterval:(NSTimeInterval)interval
                                         target:(id)target
                                       selector:(SEL)selector
                                       userInfo:(id)userInfo
                                        repeats:(BOOL)repeats;

+ (NSTimer *)fyj_scheduledTimerWithTimeInterval:(NSTimeInterval)interval
                                          block:(FYJTimerHandler)block
                                       userInfo:(id)userInfo
                                        repeats:(BOOL)repeats;

@end
